import request from '@/utils/request'

export function getUserList(params) {
  return request({
    url: '/admin/systemUser/userList',
    method: 'get',
    params
  })
}

export function createSysUser(data) {
  return request({
    url: '/admin/systemUser/createSysUser',
    method: 'post',
    data
  })
}

export function updateSysUser(data) {
  return request({
    url: '/admin/systemUser/updateSysUser',
    method: 'post',
    data
  })
}
export function deleteSysUser(data) {
  return request({
    url: '/admin/systemUser/deleteSysUser',
    method: 'post',
    data
  })
}
